import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const router = new Router({
	routes: [{
	  path: '/index',name: 'home',component: require('../components/index')
	},{
     path: '*',redirect:'/index'
	}]
})

export default router
